home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / rebound.swf / scripts / frame_1 / PlaceObject2_104_2 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Encoding:
Text File  |  2006-06-13  |  822 b   |  16 lines

  1. onClipEvent(enterFrame){
  2.    byteloaded = _root.getBytesLoaded();
  3.    bytetotal = _root.getBytesTotal();
  4.    loaded = int(byteloaded / bytetotal * 100);
  5.    t = getTimer();
  6.    percent = loaded + "% ( " + int(byteloaded / 1000) + " K / " + int(bytetotal / 1000) + " K )";
  7.    percent = percent + "\rΣ╕ïΦ╜╜Θǃσ║ª∩╝Ü" + int(byteloaded / t * 100) / 100 + " K/s";
  8.    _root.load_bar.gotoAndStop(_root.load_bar.loaded);
  9.    timeloaded = int(t / 1000);
  10.    timeremain = int(timeloaded * (bytetotal - byteloaded) / byteloaded);
  11.    timeremain = int(timeremain / 60) + "\'" + int(timeremain % 60) + "\"";
  12.    timeloaded = int(timeloaded / 60) + "\'" + int(timeloaded % 60) + "\"";
  13.    downloadtime = "σ╖▓τö¿µù╢Θù┤∩╝Ü" + timeloaded + "\r" + "σë⌐Σ╜Öµù╢Θù┤∩╝Ü" + timeremain;
  14.    _root.downloadtime = _root.load_bar.downloadtime;
  15. }
  16.